package com.lt.flashcard.view;

import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.Path;
import org.zkoss.zk.ui.select.SelectorComposer;

import com.lt.flashcard.model.entity.FlashcardSet;

public class V_AdminFlashcardSetDetailsCtrl extends SelectorComposer<Component> {

	private static final long serialVersionUID = 1L;
	
	public FlashcardSet getFlashcardset() {
		Component com = Path.getComponent("//admin_flashcardset_details/ctnAdminFlashcardSetDetails");
		AdminFlashcardSetDetailsCtrl ctrl = (AdminFlashcardSetDetailsCtrl) com.getAttribute("$composer");
		return ctrl.getFlashcardset();
	}
}
